package com.tyk.bookstore.front.storage.model.vo;


import com.tyk.bookstore.front.common.core.model.vo.PageVo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class WarehousePageVo extends PageVo<WarehousePageVo.Warehouse> {
    @Data
    public static class Warehouse {
        @Schema(description = "ID")
        private Long id;
        @Schema(description = "名字")
        private String name;
        @Schema(description = "所在区域行政区划代码")
        private Long areaCode;
        @Schema(description = "所在区域")
        private String areaName;
        @Schema(description = "详细地址")
        private String address;
        @Schema(description = "负责人ID")
        private Long userId;
        @Schema(description = "负责人姓名")
        private String userName;
        @Schema(description = "寄件方姓名")
        private String senderName;
        @Schema(description = "寄件方地址")
        private String senderAddress;
        @Schema(description = "寄件方电话")
        private String senderPhone;
        @Schema(description = "创建时间")
        private LocalDateTime createTime;
        @Schema(description = "修改时间")
        private LocalDateTime updateTime;
    }
}
